<div ms-controller="role_list">
    <div class="location_box">
        <div class="return_title">
            <a class="return_button" ms-click="history"><img src="../img/icon_return.png"/></a>
            <a ms-click="load('home_cloud.html')">首页</a>
            <span>&gt;</span>
            <span>系统管理</span>
            <span>&gt;</span>
            <span>角色列表</span>
        </div>
        <div class="button_box">
            <a class="button_add" ms-on-click="goSave">添加</a>
        </div>
    </div>
    <div class="table_content">
        <table ms-controller="paging">
            <thead>
            <tr>
                <td width="10%">序号</td>
                <td width="15%">角色名称</td>
                <td width="15%">创建时间</td>
                <td width="40%">备注</td>
                <td width="20%">操作</td>
            </tr>
            </thead>
            <tbody>
                <tr ms-repeat="roleList">
                    <td>{{pageSize*(pageNum-1)+$index+1}}</td>
                    <td>{{el.name}}</td>
                    <td>{{el.createTime| date("yyyy-MM-dd HH:mm")}}</td>
                    <td>{{el.remark}}</td>
                    <td>
                        <a ms-on-click="goUpdate(el.id)" class="green"><img src="../img/icon_update.png"/>修改</a>
                        <a ms-on-click="removeItem(el.id)" class="yellow" style="margin-left: 15px;"><img src="../img/icon_delete.png"/>删除</a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div ms-include-src="table_footer" class="noSelect"></div>
</div>
